package com.ucode.springboot.starter.fileStorage;
/**
 * 上传返回结果
 * @author: liliang
 * @date: 2020年6月12日 上午11:08:41
 */
public class UploadResult {
    public String clientId; 
    public String bucket;
    public String urlprefix;
    public Boolean isPrivate;
    public String filePath;//文件key
    public String mimeType;//资源媒体类型
    
    public UploadResult(String clientId, String bucket, String urlprefix, Boolean isPrivate, String filePath, String mimeType) {
        super();
        this.clientId = clientId;
        this.bucket = bucket;
        this.urlprefix = urlprefix;
        this.isPrivate = isPrivate;
        this.filePath = filePath;
        this.mimeType = mimeType;
    }
    public String getClientId() {
        return clientId;
    }
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
    public String getBucket() {
        return bucket;
    }
    public void setBucket(String bucket) {
        this.bucket = bucket;
    }
    public String getUrlprefix() {
        return urlprefix;
    }
    public void setUrlprefix(String urlprefix) {
        this.urlprefix = urlprefix;
    }
    public Boolean getIsPrivate() {
        return isPrivate;
    }
    public void setIsPrivate(Boolean isPrivate) {
        this.isPrivate = isPrivate;
    }

    public String getFilePath() {
        return filePath;
    }
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    public String getMimeType() {
        return mimeType;
    }
    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }
}